﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace ShoppingWebPage.Models
{
    public class Item
    {
        public int id { get; set; }
        public string name { get; set; }
        public string description { get; set; }

        [DataType(DataType.Currency)]
        public double price { get; set; }
        public int quantity { get; set; }

        [DataType(DataType.Currency)]
        public double itemTotalPrice { get; set; }
    }
}